#include <stdio.h>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main() {
	int max(int x, int y);
	int a,b,c;
	printf("please enter two integer numbers:");
	scanf("%d,%d",&a,&b);
	c=max(a,b);
	printf("max is %d\n",c);
	return 0;
}

int max(int x,int y){
	int z;
	z=x>y?x:y;
	return(z);
}
